package com.push.spider.param;

import java.util.HashMap;
import java.util.List;

/**
 {
 "templateId": [
 "{652B0562-7D75-46D2-A6A6-C63CF833AE3A}"
 ],
 "componentId": "{C96CC69F-4029-443C-9E59-377E63D1A9D6}",
 "page": "1",
 "amount": 10,
 "filter": {},
 "tags": null,
 "sortType": "DateDesc",
 "restrictionType": "None"
 }
 */
public class IISSParam {
    private List<String> templateId;
    private String componentId;
    private String page;
    private int amount;
    private HashMap<String, String> filter;
    private String tags;
    private String sortType;
    private String restrictionType;

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public HashMap<String, String> getFilter() {
        return filter;
    }

    public void setFilter(HashMap<String, String> filter) {
        this.filter = filter;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getSortType() {
        return sortType;
    }

    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    public String getRestrictionType() {
        return restrictionType;
    }

    public void setRestrictionType(String restrictionType) {
        this.restrictionType = restrictionType;
    }

    public String getComponentId() {
        return componentId;
    }

    public void setComponentId(String componentId) {
        this.componentId = componentId;
    }

    public List<String> getTemplateId() {
        return templateId;
    }

    public void setTemplateId(List<String> templateId) {
        this.templateId = templateId;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("IISSParam{");
        sb.append("page=").append(page);
        sb.append(", amount=").append(amount);
        sb.append(", filter=").append(filter);
        sb.append(", tags='").append(tags).append('\'');
        sb.append(", sortType='").append(sortType).append('\'');
        sb.append(", restrictionType='").append(restrictionType).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
